package com.oneguy.model.service;

import com.oneguy.model.bean.ActiveUser;
import com.oneguy.model.bean.FishOnlineSum;
import com.oneguy.model.bean.FishScore;
import com.oneguy.model.bean.FishTodaySum;
import com.oneguy.model.mapper.FishMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zl on 2015/8/27.
 */

@Service
public class FishService {

    @Autowired
    private FishMapper fishMapper;

    public List<FishScore> queryFishScore() {
        return fishMapper.queryFishScore();
    }

    public FishTodaySum queryFishTodaySum(){
        return fishMapper.queryFishTodaySum();
    }

    public FishOnlineSum queryFishOnlineSum(){
        return fishMapper.queryFishOnlineSum();
    }

}
